package com.wyw.design.model.learning.behavioral.emptyobject.observerpattern;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/19 15:42
 * Update History:
 * Author        Time            Content
 */
public class Client {
    public static void main(String[] args) {
        System.out.println(ObjectFactory.creator("Java").name);
        System.out.println(ObjectFactory.creator("SQL").name);
        System.out.println(ObjectFactory.creator("Hello World").name);
    }
}
